package com.atguigu.mvc.entity;

public class Teacher {

    private String teacherName;
    private Integer teacherAge;

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Integer getTeacherAge() {
        return teacherAge;
    }

    public void setTeacherAge(Integer teacherAge) {
        this.teacherAge = teacherAge;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherName='" + teacherName + '\'' +
                ", teacherAge=" + teacherAge +
                '}';
    }

    public Teacher(String teacherName, Integer teacherAge) {
        this.teacherName = teacherName;
        this.teacherAge = teacherAge;
    }

    public Teacher() {
    }
}
